<!-- 免责声明：本平台所有接口仅限制用于有偿技术研究讨论与正规广告信息推广使用，请勿用于非法用途，否则产生一切后果由用户自行承担！-->
<!-- 禁止一切违法违纪的擦边的网址,图片等 如：(博彩,色情,彩票,不属实内容等违法国家相关法律内容)，否则本平台有权删除相关内容！     -->
<!---微信跳转联系QQ：10572137 -->








<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no">
    <meta name="format-detection" content="telephone=no">

    <script src="./zjs.js"></script>


    <title>微信唤起跳转中... </title>



    <meta name="description" content="" />

    <link rel="shortcut icon" href="" type="image/x-icon" />
    <!--
    <meta charset="utf-8" />
  <title>小敏</title>
  <meta name="description" content="联+系我吧"/>  
  <link rel="icon" href="http://p0.meituan.net/dptrust/c6513a2af70b5ed0eb60e1f2b9ec0caf72304.jpg" type="image/x-icon" />
  <link rel="shortcut icon" href="http://p0.meituan.net/dptrust/c6513a2af70b5ed0eb60e1f2b9ec0caf72304.jpg" type="image/x-icon"/>11111
    -->


    
    <link href="style.css" rel="stylesheet" type="text/css" />
    
</head>

<body>
    <!--
        http://m.jumpwx.com/wx/?i=170
    -->

    <div class="page" style="background: #ffffff">
        <div class="res" id="success">
            <img src="./img/7e176f2634793c725ffe17a0d34b84dc3799.png" class="icon" />
            <div class="text">恭喜！成功打开微信</div>
            <div style="text-align: center;">
                <div class="open-desc">如遇自动进入失败，点击手动进入按钮</div>

                <button onclick="openMini()" class="open-button czt">手动进入</button>

            </div>
        </div>
        <div class="res" id="haveing">
            <div class="text">打开微信中</div>
            <img src="./img/01585009e59f996689d7d4d41857d97f15282.png" class="icon2" />
        </div>
        <div class="res" id="fail">
            <img src="./img/a656471a7eb6b5b1558d735d7130457d3767.png" class="icon" />
            <div class="text" id="fail_txt"></div>
        </div>

        <img id="inweixin" src="./img/6e38736ae3c21381a4e960330425a37889069.jpg"
            style="display: none;max-width: 100%">
    </div>



</body>

<script type="application/javascript">


    function getQueryVariable(variable) {
        var query = window.location.search.substring(1);
        var vars = query.split("&");
        for (var i = 0; i < vars.length; i++) {
            var pair = vars[i].split("=");
            if (pair[0] == variable) { return pair[1]; }
        }
        return (false);
    }

    var status = parseInt(1);
    var status_txt = '';
    $(function () {

        if (status == 2) {
            $('#fail').css('display', 'flex');
            $('#fail_txt').text(status_txt);
        } else {
            var ua = navigator.userAgent.toLowerCase()
            var isWXWork = ua.match(/wxwork/i) == 'wxwork'
            var isWeixin = !isWXWork && ua.match(/micromessenger/i) == 'micromessenger'
            var isMobile = false
            var isDesktop = false
            if (navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|IEMobile)/i)) {
                isMobile = true
            } else {
                isDesktop = true
            }

            if (isWeixin) {
                $("#inweixin").show();

            } else if (isDesktop) {
                $('#fail').css('display', 'flex');
                $('#fail_txt').text('请使用手机打开网页链接');
            } else {
                $('#haveing').css('display', 'flex');;
                setTimeout(function () {
                    $('#haveing').hide();
                    $('#success').css('display', 'flex');

                    openMini();
                }, 1000);
            }
        }




    });
    function openMini() {



        location.href = 'weixin://dl/business/?t=TPAM89y4s1g';
        if (/baiduboxapp/i.test(navigator.userAgent)) {
            $("#queren").click();
        } else {
            $("#phone").remove();
        }
    }


</script>

</html>